"ant_box"
蚂蚁盒子


/**汉化*/
title:i18n.t("ant.AntBox.title"),//表格的标题
ant:{
    AntBox:{
        title: "蚂蚁盒子",
        code: "盒子编码",
        netStatus: "网络状态",
        eleStatus: "电源状态",
        isOpen: "打开状态",
        isForbidden: "锁定状态",
        address: "地址",
    },
  },

/**服务器字典*/
--  网络状态(0:未知,2:离线,1:在线)
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_NET_STATUS', '0', '未知', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_NET_STATUS', '2', '离线', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_NET_STATUS', '1', '在线', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
--  电源状态(0:未知,2:断电,1:通电)
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_ELE_STATUS', '0', '未知', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_ELE_STATUS', '2', '断电', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_ELE_STATUS', '1', '通电', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
--  打开状态(0:未知,2:关门,1:开门)
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_IS_OPEN', '0', '未知', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_IS_OPEN', '2', '关门', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_IS_OPEN', '1', '开门', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
--  锁定状态(0:未锁定,1:锁定)
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_IS_FORBIDDEN', '0', '未锁定', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');
INSERT INTO `ibase4j`.`sys_dic` (`type_`, `code_`, `code_text`, `parent_type`, `parent_code`, `sort_no`, `editable_`, `enable_`, `remark_`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES ('ANT_IS_FORBIDDEN', '1', '锁定', '', '', '1', '1', '1', '', '1', '2019-02-11 14:19:16', '1', '2019-02-11 14:19:16');


/**本地全局字典*/
export const DIC_ANT = {
    ANT_NET_STATUS: [
        {
            label: '未知',
            value: 0
        },
        {
            label: '离线',
            value: 2
        },
        {
            label: '在线',
            value: 1
        },
    ],
    ANT_ELE_STATUS: [
        {
            label: '未知',
            value: 0
        },
        {
            label: '断电',
            value: 2
        },
        {
            label: '通电',
            value: 1
        },
    ],
    ANT_IS_OPEN: [
        {
            label: '未知',
            value: 0
        },
        {
            label: '关门',
            value: 2
        },
        {
            label: '开门',
            value: 1
        },
    ],
    ANT_IS_FORBIDDEN: [
        {
            label: '未锁定',
            value: 0
        },
        {
            label: '锁定',
            value: 1
        },
    ],
}